package com.company.oa.hr.entity.employee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("hr_employee")
public class Employee {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String employeeNo;
    private String name;
    private Integer gender;
    private Date birthDate;
    private String idCard;
    private String phone;
    private String email;
    private String address;
    private String education;
    private String school;
    private String major;
    private Long departmentId;
    private Long positionId;
    private Date entryDate;
    private Integer probationMonths;
    private Date probationEndDate;
    private Integer workStatus;
    private String emergencyContact;
    private String emergencyPhone;
    private String remark;
    private Long creatorId;
    private Date createTime;
    private Date updateTime;
    @TableLogic
    private Integer isDeleted;
} 